import { createContext } from 'react';

// 设置公共组件类型
export interface KeepAliveLayoutProps {
    keepalive: any[];
    keepElements?: any;
    dropByCacheKey?: (path: string) => void;
}
export const KeepAliveContext = createContext<KeepAliveLayoutProps>({
    keepalive: [],
    keepElements: {},
});
